package com.shanjupay.merchant.convert;

import com.shanjupay.merchant.api.dto.MerchantDTO;
import com.shanjupay.merchant.vo.MerchantRegisterVO;
import jdk.nashorn.internal.ir.CallNode;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @projectName: shanjupay
 * @package: com.shanjupay.merchant.convert
 * @className: MerchantRegisterConvert
 * @author: Eric
 * @description: TODO
 * @date: 2023/12/3 16:21
 * @version: 1.0
 */
@Mapper
public interface MerchantRegisterConvert {
    MerchantRegisterConvert INSTANCE = Mappers.getMapper(MerchantRegisterConvert.class);

    MerchantDTO vo2dto(MerchantRegisterVO vo);

    MerchantRegisterVO dto2vo(MerchantDTO dto);
}
